package com.suep.data_analysis.model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.*;
import java.util.Date;
import java.util.Map;

@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("t_armament")
@JsonIgnoreProperties(ignoreUnknown = true)
public class Armament extends Model<Armament> {
    @TableId("armament_id")
    private String armamentId;
    private String armamentName;
    private String armamentType;
    private Integer rarity;
    private Integer baseAttack;
    private String secondaryStatType;
    private Double secondaryStatValue;
    private String effectDescription;
    private Map<String, Map<String, Object>> levelData;
    private String imageUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}